<?php

namespace app\common\model;

use app\common\model\TimeModel;
use think\model\relation\BelongsTo;

class GoodsLibraryShopRelation extends TimeModel
{

    protected $name = "goods_library_shop_relation";

    protected $deleteTime = "delete_time";
    protected $defaultSoftDelete = 0;

    public function goodsLibrary()
    {
        return $this->belongsTo(GoodsLibrary::class, 'goods_library_id', 'id');
    }


}